<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:include="public/page_css::page_css ('查看库位')" />

<body>
<div class="layui-fluid larry-wrapper">
    <!--列表-->
        <!--<div class="pro">-->
            <table id="table"></table>
        <!--</div>-->

    <input type="hidden" th:value="${id}" id="pid">
</div>
</body>
<div th:include="public/public_js::public_js"></div>

<script th:inline="javascript">
    $(function () {
    })

</script>
<script>
    layui.use(['myform','zzpUtils','form','jquery'],function () {
            zzpUtils = layui.zzpUtils,
            $ = layui.jquery;
        var $table = zzpUtils.table({
            elem: '#table',
            isApi: true,
            pagination:true,
            url: '/wmslibraryarea/selectKuwei?kqid='+$("#pid").val(),
            columns: [{
                field: '',
                checkbox: true
            }, {
                field: 'kwdm',
                title: '库位代码'
            }, {
                field: 'kwmc',
                title: '库位名称'
            },{
                field: 'kwlxmc',
                title: '库位类型'
            },{
                field: 'kwcs',
                title: '层数'
            }, {
                field: 'kwms',
                title: '描述'
            }]
        });

    });

</script>
</html>